package eu.whowie.jast.client;

import java.io.File;
import java.io.FileFilter;

public class DesktopFilefilter implements FileFilter {

	@Override
	public boolean accept(File pathname) {
		if (!pathname.isFile()) {
			return false;
		}

		String path = pathname.getName();
		return path.endsWith(".desktop");
	}

}
